﻿<UserControl x:Class="Seesmic.HelloTipi.Controls.NotificationToastHeader"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Seesmic.HelloTipi.Controls"
    mc:Ignorable="d"
    d:DesignHeight="100" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot">
        <RichTextBox FontSize="12" Foreground="White" IsReadOnly="True" BorderBrush="Transparent" Background="Transparent" VerticalAlignment="Center" TextOptions.TextHintingMode="Animated" Margin="0,-1,0,1" >
            <Paragraph >
                <Run Text="{Binding Path=Count}" /> new                
                for
                <Hyperlink  
                    Command="{Binding Command}" 
                    CommandParameter="{Binding Path=PersistenceId}"
                    Foreground="White" 
                    TextDecorations="None" 
                    FontWeight="Bold">
                    <Span>
                        <Run Text="{Binding Path=ProviderName}" />
                    </Span>
                </Hyperlink>
            </Paragraph>
        </RichTextBox>
    </Grid>
</UserControl>
